package com.wharf.base.service;

import java.util.List;

import com.wharf.base.model.UserInfo;


public interface UserInfoService {
	//普通用户登录
	public UserInfo selectByIdandpass(String name,String pass);
	//管理员登录
	boolean AdminLoginAction(String userId,String pass);

	//注册
	public int regist(String infoName,String infoPhone,String infoQq,String infoPass);
	
	//用户管理
		public List<UserInfo> userManagement();
		//根据手机号查询
		public List<UserInfo> searchByPhone(String phone);
		//管理员添加新用户
		public boolean addUserAction(String infoName,String infoPhone,String infoQq,String infoPass);
		//管理员删除用户
		public boolean delUserInfo(Integer id);

}